<#escape x as x?html>
<div class="box box-solid box-fusion no-shadow no-border">
    <div class="box-header">
        <div class="col-md-7">
            <h3 class="box-title">&nbsp;</h3>
        </div>
        <div class="box-tools">
            <@y.htmlFuzzySearchListForm/>
        </div>
    </div><!-- /.box-header -->
    <div class="box-body table-responsive no-padding">
        <table class="table table-inner-bordered table-hover"
               data-form-name="应用类别">
            <thead>
            <th class="col-md-3 col-lg-3">
                名称
            </th>
            <th class="col-md-3 col-lg-3">
                描述
            </th>
            <th class="col-md-2 col-lg-2">
                应用数
            </th>
            <th class="col-md-2 col-lg-2">
                排序
            </th>
            <th class="col-md-2 col-lg-2">
                <@s.message "page.handler"/>
            </th>
            </thead>
            <tbody>
                <#if (page.entities??)&&(page.entities?size>0)>
                    <#list page.entities as record>
                    <tr record-id='${record.id}'>
                        <td>${record.name!''}</td>
                        <td>${record.description!''}</td>
                        <td>${record.fuzzyField!''}</td>
                        <td>${record.sort!''}</td>
                        <td class="popup-close table-btn" style="padding-left: 10px;">
                            <div class="btn-group no-padding">
                                <@y.htmlPageBtnGroupEditDelete/>
                            </div>
                        </td>
                    </tr>
                    </#list>
                </#if>
            </tbody>
        </table>
    </div><!-- /.box-body -->
    <div class="box-footer no-border clearfix">
        <@y.htmlPaginationOverview/>
    </div>
</div><!-- /.box -->
    <@y.htmlModal type="save"/>
<script>
    context.call([
        "list",
    ], function (list) {
        list.initFuzzySearchList("/sys/applicationCategory");
    })
</script>
</#escape>